package com.cf.pojo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Chengfei
 * @Description
 * @date 2023/6/25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("dev_student")
public class Student {

    @TableId
    private String id;

    private String score;

    private String name;

    private Integer age;

    private Date creatTime;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String desc;

}
